﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Platform.Infrastructure;
using Platform.ObjectModel.Design;

namespace Platform.ObjectModel
{

	/// <summary>
	/// 
	/// </summary>
	public class StorageSlot
	{
		//public StorageSlot( IQualifiedDataObject content, Schema schema )
		public StorageSlot( DocumentFlake document, Schema schema )
		{
			//Arguments.IsNotNull( "content", content );
			Arguments.IsNotNull( "document", document );
			Arguments.IsNotNull( "schema", schema );

			//this.Content = content;
			this.Document = document;
			this.Schema = schema;
		}

		//public IQualifiedDataObject Content
		//{ get; private set; }

		public DocumentFlake Document
		{ get; private set; }

		public Schema Schema
		{ get; private set; }
	}
}
